# $Id: PKGBUILD 66040 2012-02-22 15:01:12Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-html-highlight
pkgver=0.20
pkgrel=5
pkgdesc="Perl/CPAN Module HTML::Highlight"
arch=("any")
url="http://search.cpan.org/dist/HTML-Highlight"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/T/TR/TRIPIE/HTML-Highlight-$pkgver.tar.gz")
md5sums=('85cfcff2d5880bdbe126a9a4fdc7b155')

build() {
  cd $srcdir/HTML-Highlight-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
